/*
 * 软件版权: 恒生电子股份有限公司
 * 修改记录:
 * 修改日期     修改人员  修改说明
 * ========    =======  ============================================
 * 2021/4/16  lisy31662  新增
 * ========    =======  ============================================
 */
package com.sansi.pencilbook.entity;

import lombok.*;

/**
 * 功能说明: 推荐书籍
 *
 * @author lisy31662
 */
@Data
@NoArgsConstructor
@RequiredArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(exclude = {"rId"})
public class RecommendBook {

  private int rId;

  @NonNull
  private int userId;

  @NonNull
  private String bookIsbn;

  //类别Id
  @NonNull
  private Integer categoryId;

  @NonNull
  private String bookImg;

  @NonNull
  private String bookName;

  @NonNull
  private String bookPublishers;

  @NonNull
  private float bookPrice;

  @NonNull
  private String bookAuthor;

  /**
   * 书籍简介
   */
  @NonNull
  private String bookIntroduction;

  /**
   * 出版日期
   */
  @NonNull
  private String bookTime;

  @NonNull
  private int orderBy;

}
